package org.windblog.core;

public class Bloginfo {
	
	public static String getName()
	{
		return OptionService.getOptionValue("blogname");
	}
	
	public static String getDescription()
	{
		return OptionService.getOptionValue("blogdescription");
	}
	
	public static String getAdminEmail()
	{
		return OptionService.getOptionValue("admin_email");
	}
	
	public static String getURL()
	{
		return OptionService.getOptionValue("siteurl");
	}
	
	public static String getWBURL()
	{
		return OptionService.getOptionValue("siteurl");
	}
	
	public static String getStylesheetDirectory()
	{
		return getWBURL()+"content/themes/"+OptionService.getOptionValue("template")+"/";
	}
	
	public static String getStylesheetURL()
	{
		return getStylesheetDirectory()+"style.css";
	}
	
	public static String getCharset()
	{
		return OptionService.getOptionValue("charset");
	}
	
	public static String getHtmlType()
	{
		return OptionService.getOptionValue("html_type");
	}
	
	public static String getVersion()
	{
		return OptionService.getOptionValue("version");
	}

	public static String getLanguage() {
		return OptionService.getOptionValue("language");
	}

	public static String getTextDirection() {
		return OptionService.getOptionValue("text-direction");
	}
}
